package com.fun.feifun.modules.business.service;

import com.fun.feifun.modules.business.model.BusinessGoodsSupplierSort;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fun.feifun.modules.business.model.dto.BusinessGoodsRouteDto;
import com.fun.feifun.modules.business.model.param.BusinessGoodsRoute;
import com.fun.feifun.modules.business.model.param.BusinessUserGoodsParam;

import java.util.List;

/**
 * <p>
 * 业务商品路由配置 服务类
 * </p>
 *
 * @author wkf
 * @since 2024-06-20
 */
public interface IBusinessGoodsSupplierSortService extends IService<BusinessGoodsSupplierSort> {


     Boolean setGoodsRoute(BusinessGoodsRoute param);

    List<BusinessGoodsRouteDto> getGoodsRoute(Long goodsId);

    List<BusinessGoodsRouteDto> getGoodsRoutes(List<Long> goodsIds);

    BusinessGoodsRouteDto getRoute(Long goodsId,Long supplierId);

}
